package com.demo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 商品（t_good表对应的Java实体类）
 */
@Getter
@Setter
@ToString
public class Good implements Serializable {
    private Long id;//主键
    private String goodName;//商品名称
    private String goodType;//类别
    private String goodCount;//库存数
    private String goodUnit;//单位
    private String goodPrice;//售价
    private String goodText;//商品详情

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }
    public String getGoodType() {
        return goodType;
    }

    public void setGoodType(String goodType) {
        this.goodType = goodType;
    }
    public String getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(String goodCount) {
        this.goodCount = goodCount;
    }
    public String getGoodUnit() {
        return goodUnit;
    }

    public void setGoodUnit(String goodUnit) {
        this.goodUnit = goodUnit;
    }
    public String getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(String goodPrice) {
        this.goodPrice = goodPrice;
    }
    public String getGoodText() {
        return goodText;
    }

    public void setGoodText(String goodText) {
        this.goodText = goodText;
    }
}
